home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Triton / Developer / BlitzBasic / triton.asc < prev    next >
Text File  |  1995-06-28  |  22KB  |  452 lines

  1. ;
  2. ;**
  3. ;** $VER: triton.bb2 1.05 (12.5.95)
  4. ;** Triton Release 1.4
  5. ;**
  6. ;** triton.library definitions
  7. ;**
  8. ;** (C) Copyright 1993-1994 Stefan Zeiger
  9. ;** All Rights Reserved
  10. ;**
  11. ;** Translation to BlitzBasic2 (C) by Philipp Lonke
  12. ;** All Rights Reserved
  13. ;** No change may be made to this sourcecode.
  14. ;** contact: phips@scout.rhein-main.de or in the blitz-mailing-list.
  15. ;**
  16. ;
  17.  
  18. ;extern struct TR_App *__Triton_Support_App;
  19. ;extern struct IClass *TRIM_trLogo;
  20.  
  21. ; this here is an addition to the amigalibs.res, because in the
  22. ; original include it was wrongly converted from C
  23.  
  24. NEWTYPE .AppWindow
  25.   *aw_PRIVATE.b
  26. End NEWTYPE
  27.  
  28. ; ////////////////////////////////////////////////////////////////////// */
  29. ; //////////////////////////////////////////////// The Triton message // */
  30. ; ////////////////////////////////////////////////////////////////////// */
  31.  
  32. NEWTYPE.TR_Message
  33.  
  34.   *trm_Project.TR_Project;    ; The project which triggered the message */
  35.   trm_ID.l;         ; The object's ID (where appropriate) */
  36.   trm_Class.l;      ; The Triton message class */
  37.   trm_Data.l;       ; The class-specific data */
  38.   trm_Code.l;       ; Currently only used by TRMS_KEYPRESSED */
  39.   trm_Qualifier.l;  ; IEQUALIFIERs */
  40.   trm_Seconds.l;    ; \ Copy of system clock time (Only where */
  41.   trm_Micros.l;     ; / available! If not set, trm_Seconds is NULL) */
  42.   *trm_App.TR_App;        ; The project's application */
  43.  
  44. End NEWTYPE
  45.  
  46. ; Message classes */
  47.  
  48. #TRMS_CLOSEWINDOW        =1  ; The window should be closed */
  49. #TRMS_ERROR              =2  ; An error occured. Error code in trm_Data */
  50. #TRMS_NEWVALUE           =3  ; Object's value has changed. New value in trm_Data */
  51. #TRMS_ACTION             =4  ; Object has triggered an action */
  52. #TRMS_ICONDROPPED        =5  ; Icon dropped over window (ID=0) or DropBox. AppMessage* in trm_Data */
  53. #TRMS_KEYPRESSED         =6  ; Key pressed. trm_Data contains ASCII code, trm_Code raw code and */
  54.                              ; trm_Qualifier contains qualifiers */
  55. #TRMS_HELP               =7  ; The user requested help for the specified ID */
  56.  
  57.  
  58. ; ////////////////////////////////////////////////////////////////////// */
  59. ; //////////////////////////////////////////////// Triton error codes // */
  60. ; ////////////////////////////////////////////////////////////////////// */
  61.  
  62. #TRER_OK                 =0        ; No error */
  63.  
  64. #TRER_ALLOCMEM           =1        ; Not enough memory */
  65. #TRER_OPENWINDOW         =2        ; Can't open window */
  66. #TRER_WINDOWTOOBIG       =3        ; Window would be too big for screen */
  67. #TRER_DRAWINFO           =4        ; Can't get screen's DrawInfo */
  68. #TRER_OPENFONT           =5        ; Can't open font */
  69. #TRER_CREATEMSGPORT      =6        ; Can't create message port */
  70. #TRER_INSTALLOBJECT      =7        ; Can't create an object */
  71. #TRER_CREATECLASS        =8        ; Can't create a class */
  72. #TRER_NOLOCKPUBSCREEN    =9        ; Can't lock public screen */
  73. #TRER_CREATEMENUS        =12       ; Error while creating the menus */
  74. #TRER_GT_CREATECONTEXT   =14       ; Can't create gadget context */
  75.  
  76. #TRER_MAXERRORNUM        =15       ; PRIVATE! */
  77.  
  78.  
  79. ; ////////////////////////////////////////////////////////////////////// */
  80. ; ///////////////////////////////////////// Tags for TR_OpenProject() // */
  81. ; ////////////////////////////////////////////////////////////////////// */
  82.  
  83. ; Window/Project */
  84.  
  85. #TRWI_Title              =(#TAG_USER+1)    ; STRPTR: The window title */
  86. #TRWI_Flags              =(#TAG_USER+2)    ; See below for window flags */
  87. #TRWI_Underscore         =(#TAG_USER+3)    ; char *: The underscore for menu and gadget shortcuts */
  88. #TRWI_Position           =(#TAG_USER+4)    ; Window position, see below */
  89. #TRWI_CustomScreen       =(#TAG_USER+5)    ; struct Screen * */
  90. #TRWI_PubScreen          =(#TAG_USER+6)    ; struct Screen *, must have been locked! */
  91. #TRWI_PubScreenName      =(#TAG_USER+7)    ; STRPTR, Triton is doing the locking */
  92. #TRWI_PropFontAttr       =(#TAG_USER+8)    ; struct TextAttr *: The proportional font */
  93. #TRWI_FixedWidthFontAttr =(#TAG_USER+9)    ; struct TextAttr *: The fixed-width font */
  94. #TRWI_Backfill           =(#TAG_USER+10)   ; The backfill type, see below */
  95. #TRWI_ID                 =(#TAG_USER+11)   ; ULONG: The window ID */
  96. #TRWI_Dimensions         =(#TAG_USER+12)   ; struct TR_Dimensions * */
  97. #TRWI_ScreenTitle        =(#TAG_USER+13)   ; STRPTR: The screen title */
  98.  
  99. ; Menus */
  100.  
  101. #TRMN_Title              =(#TAG_USER+101)  ; STRPTR: Menu */
  102. #TRMN_Item               =(#TAG_USER+102)  ; STRPTR: Menu item */
  103. #TRMN_Sub                =(#TAG_USER+103)  ; STRPTR: Menu subitem */
  104. #TRMN_Flags              =(#TAG_USER+104)  ; See below for flags */
  105.  
  106. ; General object attributes */
  107. #TRAT_ID                 =(#TAG_USER+150)  ; The object's/menu's ID */
  108. #TRAT_Flags              =(#TAG_USER+151)  ; The object's flags */
  109. #TRAT_Value              =(#TAG_USER+152)  ; The object's value */
  110. #TRAT_Text               =(#TAG_USER+153)  ; The object's text */
  111. #TRAT_Disabled           =(#TAG_USER+154)  ; Disabled object? */
  112. #TRAT_Backfill           =(#TAG_USER+155)  ; Backfill pattern */
  113. #TRAT_MinWidth           =(#TAG_USER+156)  ; Minimum width */
  114. #TRAT_MinHeight          =(#TAG_USER+157)  ; Minimum height */
  115.  
  116. #TROB_USER               =(#TAG_USER+800)  ; PRIVATE! */
  117.  
  118.  
  119. ; ////////////////////////////////////////////////////////////////////// */
  120. ; ////////////////////////////////////////////////////// Window flags // */
  121. ; ////////////////////////////////////////////////////////////////////// */
  122.  
  123. #TRWF_BACKDROP           =$00000001     ; Create a backdrop borderless window */
  124. #TRWF_NODRAGBAR          =$00000002     ; Don't use a dragbar */
  125. #TRWF_NODEPTHGADGET      =$00000004     ; Don't use a depth-gadget */
  126. #TRWF_NOCLOSEGADGET      =$00000008     ; Don't use a close-gadget */
  127. #TRWF_NOACTIVATE         =$00000010     ; Don't activate window */
  128. #TRWF_NOESCCLOSE         =$00000020     ; Don't send TRMS_CLOSEWINDOW when Esc is pressed */
  129. #TRWF_NOPSCRFALLBACK     =$00000040     ; Don't fall back onto default PubScreen */
  130. #TRWF_NOZIPGADGET        =$00000080     ; Don't use a zip-gadget */
  131. #TRWF_ZIPCENTERTOP       =$00000100     ; Center the zipped window on the title bar */
  132. #TRWF_NOMINTEXTWIDTH     =$00000200     ; Minimum window width not according to title text */
  133. #TRWF_NOSIZEGADGET       =$00000400     ; Don't use a sizing-gadget */
  134. #TRWF_NOFONTFALLBACK     =$00000800     ; Don't fall back to topaz.8 */
  135. #TRWF_NODELZIP           =$00001000     ; Don't zip the window when Del is pressed */
  136. #TRWF_SIMPLEREFRESH      =$00002000     ; Use simple refresh instead of smart refresh */
  137. #TRWF_ZIPTOCURRENTPOS    =$00004000     ; Will zip the window at the current position (OS3.0+) */
  138. #TRWF_APPWINDOW          =$00008000     ; Create an AppWindow without using class_dropbox */
  139. #TRWF_ACTIVATESTRGAD     =$00010000     ; Activate the first string gadget after opening the window */
  140. #TRWF_HELP               =$00020000     ; Pressing <Help> will create a TRMS_HELP message */
  141.  
  142.  
  143. ; ////////////////////////////////////////////////////////////////////// */
  144. ; //////////////////////////////////////////////////////// Menu flags // */
  145. ; ////////////////////////////////////////////////////////////////////// */
  146.  
  147. #TRMF_CHECKIT            =$00000001     ; Leave space for a checkmark */
  148. #TRMF_CHECKED            =$00000002     ; Check the item (includes TRMF_CHECKIT) */
  149. #TRMF_DISABLED           =$00000004     ; Ghost the menu/item */
  150.  
  151.  
  152. ; ////////////////////////////////////////////////////////////////////// */
  153. ; ////////////////////////////////////////////////// Window positions // */
  154. ; ////////////////////////////////////////////////////////////////////// */
  155.  
  156. #TRWP_DEFAULT            =0              ; Let Triton choose a good position */
  157. #TRWP_BELOWTITLEBAR      =1              ; Left side of screen, below title bar */
  158. #TRWP_CENTERTOP          =1025           ; Top of screen, centered on the title bar */
  159. #TRWP_TOPLEFTSCREEN      =1026           ; Top left corner of screen */
  160. #TRWP_CENTERSCREEN       =1027           ; Centered on the screen */
  161. #TRWP_CENTERDISPLAY      =1028           ; Centered on the currently displayed clip */
  162. #TRWP_MOUSEPOINTER       =1029           ; Under the mouse pointer */
  163.  
  164.  
  165. ; ////////////////////////////////////////////////////////////////////// */
  166. ; //////////////////////////////////////////////////// Backfill types // */
  167. ; ////////////////////////////////////////////////////////////////////// */
  168.  
  169. #TRBF_WINDOWBACK         =0              ; Window backfill colors */
  170. #TRBF_REQUESTERBACK      =1              ; Requester backfill colors */
  171. #TRBF_NONE               =2              ; No backfill (= Fill with BACKGROUNDPEN) */
  172. #TRBF_SHINE              =3              ; Fill with SHINEPEN */
  173. #TRBF_SHINE_SHADOW       =4              ; Fill with SHINEPEN + SHADOWPEN */
  174. #TRBF_SHINE_FILL         =5              ; Fill with SHINEPEN + FILLPEN */
  175. #TRBF_SHINE_BACKGROUND   =6              ; Fill with SHINEPEN + BACKGROUNDPEN */
  176. #TRBF_SHADOW             =7              ; Fill with SHADOWPEN */
  177. #TRBF_SHADOW_FILL        =8              ; Fill with SHADOWPEN + FILLPEN */
  178. #TRBF_SHADOW_BACKGROUND  =9              ; Fill with SHADOWPEN + BACKGROUNDPEN */
  179. #TRBF_FILL               =10             ; Fill with FILLPEN */
  180. #TRBF_FILL_BACKGROUND    =11             ; Fill with FILLPEN + BACKGROUNDPEN */
  181.  
  182.  
  183. ; ////////////////////////////////////////////////////////////////////// */
  184. ; ////////////////////////////////////////////// Display Object flags // */
  185. ; ////////////////////////////////////////////////////////////////////// */
  186.  
  187. ; General flags */
  188. #TROF_RAISED             =$00000001     ; Raised object */
  189. #TROF_HORIZ              =$00000002     ; Horizontal object \ Works automatically */
  190. #TROF_VERT               =$00000004     ; Vertical object   / in groups */
  191. #TROF_RIGHTALIGN         =$00000008     ; Align object to the right border if available */
  192.  
  193. ; Text flags */
  194. #TRTX_NOUNDERSCORE       =$00000100     ; Don't interpret underscores */
  195. #TRTX_HIGHLIGHT          =$00000200     ; Highlight text */
  196. #TRTX_3D                 =$00000400     ; 3D design */
  197. #TRTX_BOLD               =$00000800     ; Softstyle 'bold' */
  198. #TRTX_TITLE              =$00001000     ; A title (e.g. of a group) */
  199. #TRTX_SELECTED           =$00002000     ; PRIVATE! */
  200.  
  201.  
  202. ; ////////////////////////////////////////////////////////////////////// */
  203. ; ////////////////////////////////////////////////////// Menu entries // */
  204. ; ////////////////////////////////////////////////////////////////////// */
  205.  
  206. #TRMN_BARLABEL           =(-1)           ; A barlabel instead of text */
  207.  
  208.  
  209. ; ////////////////////////////////////////////////////////////////////// */
  210. ; /////////////////////////////////////////// Tags for TR_CreateApp() // */
  211. ; ////////////////////////////////////////////////////////////////////// */
  212.  
  213. #TRCA_Name               =(#TAG_USER+1)
  214. #TRCA_LongName           =(#TAG_USER+2)
  215. #TRCA_Info               =(#TAG_USER+3)
  216. #TRCA_Version            =(#TAG_USER+4)
  217. #TRCA_Release            =(#TAG_USER+5)
  218. #TRCA_Date               =(#TAG_USER+6)
  219.  
  220.  
  221. ; ////////////////////////////////////////////////////////////////////// */
  222. ; ///////////////////////////////////////// Tags for TR_EasyRequest() // */
  223. ; ////////////////////////////////////////////////////////////////////// */
  224.  
  225. #TREZ_ReqPos             =(#TAG_USER+1)
  226. #TREZ_LockProject        =(#TAG_USER+2)
  227. #TREZ_Return             =(#TAG_USER+3)
  228. #TREZ_Title              =(#TAG_USER+4)
  229. #TREZ_Activate           =(#TAG_USER+5)
  230.  
  231.  
  232. ; ////////////////////////////////////////////////////////////////////// */
  233. ; ///////////////////////////////////////// The Application Structure // */
  234. ; ////////////////////////////////////////////////////////////////////// */
  235.  
  236. NEWTYPE.TR_App ; This structure is PRIVATE! */
  237.  
  238.   *tra_MemPool.w       ; The memory pool */
  239.   tra_BitMask.l        ; Bits to Wait() for */
  240.   tra_LastError.l      ; TRER code of last error */
  241.   *tra_Name.w;           ; Unique name */
  242.   *tra_LongName.w;       ; User-readable name */
  243.   *tra_Info.w;           ; Info string */
  244.   *tra_Version.w;        ; Version */
  245.   *tra_Release.w;        ; Release */
  246.   *tra_Date.w;           ; Compilation date */
  247.   *tra_AppPort.MsgPort   ; Application message port */
  248.   *tra_IDCMPPort.MsgPort ; IDCMP message port */
  249.   *tra_Prefs.b;          ; Pointer to Triton app prefs */
  250.   *tra_LastProject.TR_Project    ; Used for menu item linking */
  251.   *tra_InputEvent.InputEvent     ; Used for RAWKEY conversion */
  252.  
  253. End NEWTYPE
  254.  
  255.  
  256. ; ////////////////////////////////////////////////////////////////////// */
  257. ; ////////////////////////////////////////// The Dimensions Structure // */
  258. ; ////////////////////////////////////////////////////////////////////// */
  259.  
  260. NEWTYPE.TR_Dimensions
  261.  
  262.   trd_Left.w           ; Left */
  263.   trd_Top.w            ; Top */
  264.   trd_Width.w          ; Width */
  265.   trd_Height.w         ; Height */
  266.   trd_Left2.w          ; Left */
  267.   trd_Top2.w           ; Top */
  268.   trd_Width2.w         ; Width */
  269.   trd_Height2.w        ; Height */
  270.   trd_Zoomed.w         ; Window zoomed? */
  271.   reserved.w[3]        ; For future expansions */
  272.  
  273. End NEWTYPE
  274.  
  275.  
  276. ; ////////////////////////////////////////////////////////////////////// */
  277. ; ///////////////////////////////////////////// The Project Structure // */
  278. ; ////////////////////////////////////////////////////////////////////// */
  279.  
  280. NEWTYPE.TR_Project ; This structure is PRIVATE! */
  281.  
  282.   *trp_App.TR_App                   ; Our application */
  283.   *trp_Screen.Screen                     ; Our screen, always valid */
  284.  
  285.   *trp_LockedPubScreen.Screen            ; Only valid if we're using a PubScreen */
  286.   *trp_ScreenTitle.w                ; The screen title */
  287.  
  288.   *trp_Window.Window                     ; The window */
  289.   trp_ID.l                         ; The window ID */
  290.   *trp_AppWindow.AppWindow         ; AppWindow for icon dropping */
  291.  
  292.   trp_IDCMPFlags.l                 ; The IDCMP flags */
  293.   trp_Flags.l                      ; Triton window flags */
  294.  
  295.   *trp_NewMenu.NewMenu                    ; The newmenu stucture built by Triton */
  296.   trp_NewMenuSize.l                ; The number of menu items in the list */
  297.   *trp_Menu.Menu                       ; The menu structure */
  298.   trp_NextSelect.w                 ; The next selected menu item */
  299.  
  300.   *trp_VisualInfo.w                 ; The VisualInfo of our window */
  301.   *trp_DrawInfo.DrawInfo                   ; The DrawInfo of the screen */
  302.   *trp_UserDimensions.TR_Dimensions             ; User-supplied dimensions */
  303.   *trp_Dimensions.TR_Dimensions                 ; Private dimensions */
  304.  
  305.   trp_WindowStdHeight.l            ; The standard height of the window */
  306.   trp_LeftBorder.l                 ; The width of the left window border */
  307.   trp_RightBorder.l                ; The width of the right window border */
  308.   trp_TopBorder.l                  ; The height of the top window border */
  309.   trp_BottomBorder.l               ; The height of the bottom window border */
  310.   trp_InnerWidth.l                 ; The inner width of the window */
  311.   trp_InnerHeight.l                ; The inner height of the window */
  312.   trp_ZipDimensions.w[4]           ; The dimensions for the zipped window */
  313.   trp_AspectFixing.w               ; Pixel aspect correction factor */
  314.  
  315.   trp_ObjectList.MinList                 ; The list of display objects */
  316.   trp_MenuList.MinList                   ; The list of menus */
  317.   trp_IDList.MinList                     ; The ID linking list (menus & objects) */
  318.   *trp_MemPool.w                    ; The memory pool for the lists */
  319.   trp_HasObjects.b;                 ; Do we have display objects ? */
  320.  
  321.   *trp_PropAttr.TextAttr                   ; The proportional font attributes */
  322.   *trp_FixedWidthAttr.TextAttr             ; The fixed-width font attributes */
  323.   *trp_PropFont.TextFont                   ; The proportional font */
  324.   *trp_FixedWidthFont.TextFont             ; The fixed-width font */
  325.   trp_OpenedPropFont.b             ; \ Have we opened the fonts ? */
  326.   trp_OpenedFixedWidthFont.b       ; /
  327.   trp_TotalPropFontHeight.w        ; Height of prop font incl. underscore */
  328.  
  329.   trp_BackfillType.l               ; The backfill type */
  330.   *trp_BackfillHook.Hook               ; The backfill hook */
  331.  
  332.   *trp_GadToolsGadgetList.Gadget         ; List of GadTools gadgets */
  333.   *trp_PrevGadget.Gadget                 ; Previous GadTools gadget */
  334.   *trp_NewGadget.NewGadget               ; GadTools NewGadget */
  335.  
  336.   *trp_InvisibleRequest.Requester        ; The invisible blocking requester */
  337.   trp_IsUserLocked.b               ; Project locked by the user? */
  338.  
  339.   trp_CurrentID.l                  ; The currently keyboard-selected ID */
  340.   trp_IsCancelDown.b               ; Cancellation key pressed? */
  341.   trp_IsShortcutDown.b             ; Shortcut key pressed? */
  342.   trp_Underscore.b                 ; The underscore character */
  343.  
  344.   trp_EscClose.b                   ; Close window on Esc ? */
  345.   trp_DelZip.b                     ; Zip window on Del ? */
  346.   trp_PubScreenFallBack.b          ; Fall back onto default public screen ? */
  347.   trp_FontFallBack.b               ; Fall back to topaz.8 ? */
  348.  
  349.   trp_OldWidth.w                   ; Old window width */
  350.   trp_OldHeight.w                  ; Old window height */
  351.  
  352. End NEWTYPE
  353.  
  354. ; ////////////////////////////////////////////////////////////////////// */
  355. ; ///////////////////////////// Default classes, attributes and flags // */
  356. ; ////////////////////////////////////////////////////////////////////// */
  357.  
  358. ; Classes */
  359.  
  360. #TROB_Button             =(#TAG_USER+305)  ; A BOOPSI button gadget */
  361. #TROB_CheckBox           =(#TAG_USER+303)  ; A checkbox gadget */
  362. #TROB_Cycle              =(#TAG_USER+310)  ; A cycle gadget */
  363. #TROB_FrameBox           =(#TAG_USER+306)  ; A framing box */
  364. #TROB_DropBox            =(#TAG_USER+312)  ; An icon drop box */
  365. #TRGR_Horiz              =(#TAG_USER+201)  ; Horizontal group, see below for types */
  366. #TRGR_Vert               =(#TAG_USER+202)  ; Vertical group, see below for types */
  367. #TRGR_End                =(#TAG_USER+203)  ; End of a group */
  368. #TROB_Line               =(#TAG_USER+301)  ; A simple line */
  369. #TROB_Palette            =(#TAG_USER+307)  ; A palette gadget */
  370. #TROB_Scroller           =(#TAG_USER+309)  ; A scroller gadget */
  371. #TROB_Slider             =(#TAG_USER+308)  ; A slider gadget */
  372. #TROB_Space              =(#TAG_USER+901)  ; The spaces class */
  373. #TROB_String             =(#TAG_USER+311)  ; A string gadget */
  374. #TROB_Text               =(#TAG_USER+304)  ; A line of text */
  375. #TROB_Listview           =(#TAG_USER+313)  ; A listview gadget */
  376. #TROB_Progress           =(#TAG_USER+314)  ; A progress indicator */
  377. #TROB_Image              =(#TAG_USER+315)  ; An image */
  378.  
  379.  
  380. ; Button */
  381. #TRBU_RETURNOK           =$00010000     ; <Return> answers the button */
  382. #TRBU_ESCOK              =$00020000     ; <Esc> answers the button */
  383. #TRBU_SHIFTED            =$00040000     ; Shifted shortcut only */
  384. #TRBU_UNSHIFTED          =$00080000     ; Unshifted shortcut only */
  385. #TRBU_YRESIZE            =$00100000     ; Button resizeable in Y direction */
  386. #TRBT_TEXT               =0              ; Text button */
  387. #TRBT_GETFILE            =1              ; GetFile button */
  388. #TRBT_GETDRAWER          =2              ; GetDrawer button */
  389. #TRBT_GETENTRY           =3              ; GetEntry button */
  390.  
  391.  
  392. ; Group */
  393. #TRGR_PROPSHARE          =$00000000     ; Default: Divide objects proportionally */
  394. #TRGR_EQUALSHARE         =$00000001     ; Divide objects equally */
  395. #TRGR_PROPSPACES         =$00000002     ; Divide spaces proportionally */
  396. #TRGR_ARRAY              =$00000004     ; Top-level array group */
  397.  
  398. #TRGR_ALIGN              =$00000008     ; Align resizeable objects in secondary dimension */
  399. #TRGR_CENTER             =$00000010     ; Center unresizeable objects in secondary dimension */
  400.  
  401. #TRGR_FIXHORIZ           =$00000020     ; Don't allow horizontal resizing */
  402. #TRGR_FIXVERT            =$00000040     ; Don't allow vertical resizing */
  403. #TRGR_INDEP              =$00000080     ; Group is independant of surrounding array */
  404.  
  405.  
  406. ; Framebox */
  407. #TRFB_GROUPING           =$00000001     ; A grouping box */
  408. #TRFB_FRAMING            =$00000002     ; A framing box */
  409. #TRFB_TEXT               =$00000004     ; A text container */
  410.  
  411.  
  412. ; Scroller */
  413. #TRSC_Total              =(#TAG_USER+1504)
  414. #TRSC_Visible            =(#TAG_USER+1505)
  415.  
  416.  
  417. ; Slider */
  418. #TRSL_Min                =(#TAG_USER+1502)
  419. #TRSL_Max                =(#TAG_USER+1503)
  420.  
  421.  
  422. ; Space */
  423. #TRST_NONE               =1              ; No space */
  424. #TRST_SMALL              =2              ; Small space */
  425. #TRST_NORMAL             =3              ; Normal space (default) */
  426. #TRST_BIG                =4              ; Big space */
  427.  
  428.  
  429. ; Listview */
  430. #TRLV_Top                =(#TAG_USER+1506)
  431. #TRLV_READONLY           =$00010000     ; A read-only list */
  432. #TRLV_SELECT             =$00020000     ; You may select an entry */
  433. #TRLV_SHOWSELECTED       =$00040000     ; Selected entry will be shown */
  434. #TRLV_NOCURSORKEYS       =$00080000     ; Don't use arrow keys */
  435. #TRLV_NONUMPADKEYS       =$00100000     ; Don't use numeric keypad keys */
  436. #TRLV_FWFONT             =$00200000     ; Use the fixed-width font */
  437. #TRLV_NOGAP              =$00400000     ; Don't leave a gap below the list */
  438.  
  439.  
  440. ; Image */
  441. #TRIM_BOOPSI             =$00010000     ; Use a BOOPSI IClass image */
  442.  
  443.  
  444. ; Cycle */
  445. #TRCY_MX                 =$00010000     ; Unfold the cycle gadget to a MX gadget */
  446. #TRCY_RIGHTLABELS        =$00020000     ; Put the labels to the right of a MX gadget */
  447.  
  448.  
  449. ; ////////////////////////////////////////////////////////////////////// */
  450. ; /////////////////////////////////////////////////////////// The End // */
  451. ; ////////////////////////////////////////////////////////////////////// */
  452.